package com.xinyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 问题反馈附件
 */
@Data
@TableName("tb_daily_attachment")
public class DailyAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer dailyId;

    /**
     * 相对路径，持久化时不带 baseUrl
     */
    private String fileUrl;

    private String fileName;

    private Long fileSize;

    private String mimeType;

    private Integer createdBy;

    private String createdTime;
}
